<script setup>
import appHeader from './appHeader.vue';
import appFooter from './appFooter.vue';
</script>

<template>
  <div class="common-layout">
      <appHeader></appHeader>
      <div class="main"><slot /></div>
      <appFooter></appFooter>
  </div>
</template>

<style scoped lang='scss'>
.common-layout{
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #F6F7FB;
}
.main{
  flex: 1;
}
</style>